﻿using System;

namespace FastApi.Attributes
{
    public class FastException : Exception
    {
        public int Code { get; set; }

        public FastException(string message) : base(message)
        {

        }

        public FastException(string message, int code) : base(message)
        {
            Code = code;
        }
    }
}
